﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XbsWebAPI.EntityFrameworkCore.Entities.Enums;

namespace XbsWebAPI.EntityFrameworkCore.Entities
{
    /// <summary>
    /// 特殊日
    /// </summary>
    public class HouseTypeSpecialDay: XbsBasicClass
    {
        /// <summary>
        /// 特殊日名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public DateTime? BeginDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 特殊日价格
        /// </summary>
        public decimal SpecialDayPrice { get; set; }

        /// <summary>
        /// 淡/旺季标识，0-淡季，1-旺季
        /// </summary>
        public SeasonStatus SeasonStatus { get; set; }

        /// <summary>
        /// 房型Id
        /// </summary>
        public Guid? HouseTypeId { get; set; }

        /// <summary>
        /// 房型
        /// </summary>
        public virtual HouseType HouseType { get; set; }
    }
}
